<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta http-equiv="content-style-type" content="text/css"/>
<meta http-equiv="content-script-type" content="text/javascript"/>
<meta name="version" content="neblog-1.0"/>
<title>hikerwu</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/tool.js"></script>
<style>
    .dataout { width:100%; height:660px;overflow-x:scroll;}
    .odd {background-color: #ffd; }
    .even {background-color: #ddf; }
    .over {background-color: #FFEC8B; } 
</style>
</head>
<body>

<div>
    <p><select id="s_ch">
        <option value="">请选择</option>
        <option value="news_news_top">要文</option>
        <option value="news_news_finance_yaowen">财经</option>
        <option value="news_news_ent">娱乐</option>
        <option value="news_news_sports">体育</option>
        <option value="news_news_tech">科技</option>
        <option value="news_news_mil">军事</option>
        <option value="news_news_digi">数码</option>
        <option value="news_news_lad">时尚</option>
        <option value="news_news_auto">汽车</option>
        <option value="news_news_house">房产</option>
        <option value="news_news_game">游戏</option>
        <option value="news_news_astro">星座</option>
        <option value="news_news_gd">广东</option>
        <option value="news_photo">图片</option>
        <option value="news_video">视频</option>
    </select>&nbsp;<button id="b_func">go</button></p>
    <div>        
        <div><textarea id="data_out" class="dataout" wrap="off"></textarea></div>
    </div>
</div>
<script type="text/javascript">

$("#s_ch").val("<!--{$out.chlid}-->");
$().ready(function(){  
    $("#s_ch").change(function(){
        $(this).attr("disabled", true );
        $("#b_func").attr("disabled", true );
        var chlid = this.value;
		var data = {chlid:chlid};
        var url = '/hiker/?m=CmntMulti&a=getCmntNum';
        getUrlAndDo( data, url, function( result ) {
            $("#data_out").val($("#data_out").val()+result['data']);
            $("#s_ch").removeAttr("disabled");
            $("#b_func").removeAttr("disabled");
		});
    });
    $("#b_func").click(function(){
        $("#s_ch").change();
    });
});

</script>

</body>
</html>
